﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace MvcApplication1.Models
{
    public class BookDto
    {
        
        public int BookId { get; set; }
        
        public string Title { get; set; }
        public string Author { get; set; }
        public string Description { get; set; }
        public bool IsRead { get; set; }
        public int Rating { get; set; }
        public string Creator { get; set; }
        public virtual ICollection<Genre> Genres { get; set; } 
    }
}